package com.xqiapp.mapper;

import com.xqiapp.entity.SysRole;
import org.apache.ibatis.annotations.Insert;
import org.mybatis.spring.annotation.MapperScan;

/**
 * Created by rwrwd7 on 2017/9/21.
 */
public interface RoleMapper {

    @Insert("INSERT sys_role(id,code,name,version) VALUES(#{id},#{code},#{name},#{version})")
    int addRole(SysRole role);

}
